package com.example.spdemo;

import com.example.spdemo.entity.User;
import com.example.spdemo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class ConsoleTestRunner implements CommandLineRunner {

    @Autowired
    private UserService userService;

    @Override
    public void run(String... args) throws Exception {
        // 移除原有的测试代码，避免与新的控制台用户管理器冲突
        // 新的控制台交互功能由ConsoleUserManager类提供
    }
}